package com.zbkj.crmeb.chant.request;

import com.common.PageParamRequest;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@Accessors(chain = true)
public class AccountCenterRequest extends PageParamRequest implements Serializable {

    @ApiModelProperty(value = "商户id")
    private Integer merId;

    @ApiModelProperty(value = "余额类型(1可用余额  2可提现余额  3已冻结金额)")
    @NotNull(message = "类型不能为空")
    @Range(min = 1, max = 3, message = "类型:1 可用余额;2 可提现余额;3 已冻结金额")
    private Integer type;

}